<p id="notice"><%= notice %></p>

<h1>Listing Process Defines</h1>

<%= grid(@process_defines, :show_filters=> :always) do |g|

  g.column name: 'bpmn_name', attribute: 'bpmn_name' do |task|
    task.bpmn_name
  end

  g.column name: 'current_version_code' do |task|
    task.current_version_code
  end

  g.column name: 'bpmn_id' do |task|
    task.bpmn_id
  end

  g.column name: 'bpmn_key' do |task|
    task.bpmn_key
  end

  g.column do |task|
    link_to('Show', process_define_path(task))
  end

  g.column do |task|
    link_to('Destroy', process_define_path(task))
  end

  g.column do |task|
    link_to('Edit', edit_process_define_path(task))
  end

  g.column do |task|
    link_to('New Process', new_process_define_path(task))
  end
end -%>

<%= link_to 'New Process define', new_process_define_path %>-->
